package Test.StirngTest;

import Test.Test02.Student;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author kirito
 * @Date 2023/12/20 21:00
 * @PackageName:Test.StirngTest
 * @ClassName: Test01
 * @Description:
 * @Version 1.0
 */
public class Test01 {
    public static void main(String[] args) {
        List<Long> list = new ArrayList<>();
        for (Long l : list) {
            System.out.println(l);
        }
//        list.add(1L);
//        list.add(2L);
//        Integer num = 1;
//        Integer num1 = 0;
//        System.out.println(num + num1);//不能加null  会空指针
//        StringBuffer stringBuffer = new StringBuffer();
//        for (int i = 1; i <= num; i++) {
//            stringBuffer.append("aa").append(i);
//        }
//        System.out.println(stringBuffer);
//        for (Long l : list) {
//            stringBuffer.append(l + ",");
//        }
//        stringBuffer.deleteCharAt(stringBuffer.length() - 1);
//        System.out.println(stringBuffer);
//
//        Student student = new Student();
//        System.out.println(student.getAge() + " 0.0 ");
    }
}
